package com.huluobo.lc.giftdemo1806a;

/**
 * @author Lc
 * @description: 一条动画的message对象, 主要功能负责一个礼物的动画展示
 * @date :2020/11/16 13:25
 */
public class AnimMessage {
    private String userName;//发送礼物的user
    private int giftNum;//礼物的数量
    private boolean isComboAnimationOver;//判断当前礼物连击动画是否完成
    private long updateTime;//当前礼物展示的时间,用来对比礼物是否3秒消失
    private String giftName;//礼物的名字

    public AnimMessage(String userName, int giftNum, String giftName) {
        this.userName = userName;
        this.giftNum = giftNum;
        this.giftName = giftName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getGiftNum() {
        return giftNum;
    }

    public void setGiftNum(int giftNum) {
        this.giftNum = giftNum;
    }

    public boolean isComboAnimationOver() {
        return isComboAnimationOver;
    }

    public void setComboAnimationOver(boolean comboAnimationOver) {
        isComboAnimationOver = comboAnimationOver;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }
}
